#include "trayicon.h"

TrayIcon::TrayIcon(QWidget *parent)
	: QSystemTrayIcon(parent)//, QWidget(parent)
{
	// FOO
}

/*
void TrayIcon::dragEnterEvent(QDragEnterEvent *event)
{
        const QMimeData *mimeData = event->mimeData();
        if ( mimeData->hasFormat("text/uri-list") )
        {
                event->acceptProposedAction();
                foreach ( QUrl draggedFile, mimeData->urls() ) {
                        qDebug() << draggedFile;
                }
        }
}



void TrayIcon::dropEvent(QDropEvent *event)
{
        if (event->mimeData()->hasFormat("text/uri-list"))
        {
                qDebug() << "Content:" << event->mimeData()->text();
                foreach ( QUrl file, event->mimeData()->urls() ) {
                        emit setPreview(file.toString());
                }
        }
}
*/
